package com.system.dao;

import com.system.entity.Shop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface IShopDao {
    List<Shop> selectAllShop();

    Shop selectShopById(@Param("id") int id);

    boolean insertShop(Shop shop);

    boolean updateShop(Shop shop);

    boolean deleteShopById(int id);
}
